package com.base.common.persistent.model;

import java.util.Date;
import java.util.List;

/**
 * 巡查工单实体
 * 
 * @author Kevin Colin
 * @datetime 2015年8月31日下午5:44:00
 *
 */
public class InspectionTicket {
	private String code;
	private String coordinates;	// 经纬度
	private Employee employee;
	private int employeeCompoundsId;
	private int id;
	private Date inspectionTime;
	private List<InspectionTicketDetails> ticketDetails;
	
	public String getCode() {
		return code;
	}
	/**
	 * @return the coordinates
	 */
	public String getCoordinates() {
		return coordinates;
	}
	public Employee getEmployee() {
		return employee;
	}
	public int getEmployeeCompoundsId() {
		return employeeCompoundsId;
	}
	public int getId() {
		return id;
	}
	public Date getInspectionTime() {
		return inspectionTime;
	}
	public List<InspectionTicketDetails> getTicketDetails() {
		return ticketDetails;
	}
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @param coordinates the coordinates to set
	 */
	public void setCoordinates(String coordinates) {
		this.coordinates = coordinates;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public void setEmployeeCompoundsId(int employeeCompoundsId) {
		this.employeeCompoundsId = employeeCompoundsId;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setInspectionTime(Date inspectionTime) {
		this.inspectionTime = inspectionTime;
	}
	public void setTicketDetails(List<InspectionTicketDetails> ticketDetails) {
		this.ticketDetails = ticketDetails;
	}
}
